from django.urls import path

from apps.users.views import RegisterView, LoginView, UserInfoView

urlpatterns = [
    # 注册路由
    path('api/v1.0/users/', RegisterView.as_view()),
    # 登录路由
    path('api/v1.0/session/', LoginView.as_view()),
    # 用户中心
    path('api/v1.0/user/', UserInfoView.as_view()),

]
